<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class FinancialStaffInfo extends Model
{
    use SoftDeletes;
    protected $primaryKey = 'users_id';
    protected $table = 'financial_staff_infos';

    protected $fillable = ['name', 'code','tel','users_id','judicial_name'];
    //
    public function user()
    {
        return $this->belongsTo('\App\Model\User', 'users_id');
    }
}
